import React, { Component } from 'react';
import {
	Platform,
	StyleSheet,
	Text,
	View
} from 'react-native';
//初始化云数据库
import AV from 'leancloud-storage';
const appId = 'M0jpoIfGjaBTF3FSR1ldU01u-gzGzoHsz';
const appKey = 'LkYFqB7ycKCl2PYws3EKdVPW';
AV.init({ appId, appKey });
//获取设备信息
import DeviceInfo from 'react-native-device-info';

import Home from './pages/home';

export default class Main extends Component < {} > {
	
	componentWillMount() {
		
	}
	render() {
		return(
			<View style={styles.container}>
		        <Home/>
		    </View>
		);
	}
}

const styles = StyleSheet.create({
	container: {
		flex: 1,
		marginTop:25,
	},

});